class LoginResults {
  String token;
  int time;
  String macNo;
  String version;
  String platform;
  String model;
  String sysVersion;
  String password;
  String phone;

  LoginResults(
      {this.token,
      this.time,
      this.macNo,
      this.version,
      this.platform,
      this.model,
      this.sysVersion,
      this.password,
      this.phone});

  LoginResults.fromJson(Map<String, dynamic> json) {
    token = json['token'];
    time = json['time'];
    macNo = json['mac-no'];
    version = json['version'];
    platform = json['platform'];
    model = json['model'];
    sysVersion = json['sys-version'];
    password = json['password'];
    phone = json['phone'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['token'] = this.token;
    data['time'] = this.time;
    data['mac-no'] = this.macNo;
    data['version'] = this.version;
    data['platform'] = this.platform;
    data['model'] = this.model;
    data['sys-version'] = this.sysVersion;
    data['password'] = this.password;
    data['phone'] = this.phone;
    return data;
  }
}
